<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="author" content="@梦雨(QQ50361804)" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>找回密码 - {:set('title')}</title>
	<meta name="keywords" content="{:set('keywords')}">
    <meta name="description" content="{:set('description')}">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="*INDEX*/css/bootstrap.min.css">
    <link rel="stylesheet" href="*ADMIN*/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="*ADMIN*/admin/css/font.css">
	<link href="*ADMIN*/css/default.css" rel="stylesheet">
	<script src="*ADMIN*/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <link rel="stylesheet" type="text/css" href="*INDEX*/css/uid.css?v={:set('banben')}" />
    <link rel="stylesheet" href="*INDEX*/css/login.css?v0.05">
    {if user('userid')}
    <script>
    if (self != top) {
    　　parent.location.reload();
    }
    </script>
    <meta http-equiv="Refresh" content="0; url={:url('index/user/set')}"/>
    {/if}
</head>
<body class="indexx">
    <main class="main pb-20">
        <div class="container gutter-top">
            <div class="row sticky-parent">
                <!-- 内容开始 -->
                <div class="col-12 col-md-12 col-lg-5" style="margin: 0 auto;">
                    <div class="box box-content">
                        <div class="layui-clear">
                            <div id="wrapper" class="login-page">
                                <div id="login_form" class="forms">
                                      <form class="login-form layui-form form" url="{:url('index/api/reg')}" t_url="javascript:parent.location.reload();">
                                            <p class="titles">找回密码</p>
                                            <div class="form-group">
                                                <label>手机号码/邮箱</label>
                                                <div class="input-with-icon">
                                                    <input type="phone" id="name" class="form-control" name="name" required lay-verify="required" placeholder="手机号码or邮箱">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label>验证码</label>
                                                <div class="input-with-icon">
                                                    <input type="text" class="form-control" name="yanzhengma" required lay-verify="required" placeholder="验证码">
                                                    <button type="button" class="layui-btn sendRegCode" t_url="{:url('index/api/yanzhengmazh')}" id="phoneormail">发送验证码</button>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label>密码</label>
                                                <div class="input-with-icon">
                                                    <input type="password" name="password" required lay-verify="required" class="form-control" placeholder="创建密码">
                                                </div>
                                            </div>
                                        <div class="form-group">
                                            <button type="submit" lay-submit lay-filter="cms" class="btn btn-md full-width pop-login bg-2">重置密码</button>
                                        </div>
                                        <p class="message">
                                            已有账户? <a href="{:url('index/user/login')}">立刻登录</a>  <a class="hide" href="{:url('index/index/index')}">返回首页</a>
                                        </p>
                                    </form>
                                </div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </main>
    <script>
    if (self != top) {
    　　$(".hide").hide();
    }
    </script>
    <script type="text/javascript" src="*ADMIN*/js/form_ajax.js?v={:set('banben')}"></script>
    <script src="*INDEX*/js/plugins.min.js"></script>
    <script src="*INDEX*/js/common.js"></script>
    {:hook('userforget')}
	</body>
</html>